package com.questionGenerator.service;

import cn.hutool.http.server.HttpServerResponse;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.questionGenerator.dto.req.PaperCombinationReqDTO;
import com.questionGenerator.dto.req.PaperListReqDTO;
import com.questionGenerator.dto.resp.PaperRespDTO;
import org.springframework.core.io.Resource;
import org.springframework.http.ResponseEntity;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: usagi
 * @Date: 2024/04/25/17:53
 * @Description:
 */
public interface PaperService {
    Boolean paperCombination(PaperCombinationReqDTO paperCombinationReqDTO);

    IPage<PaperRespDTO> getPaperListByUserId(PaperListReqDTO paperListReqDTO);
    String downloadPaper(HttpServletResponse httpServerResponse, String fileName);
}
